package com.hd.openapi.servies;

import com.hd.openapi.common.ResponseResult;
import com.hd.openapi.common.ResultTable;
import com.hd.openapi.entity.Menu;
import com.hd.openapi.entity.Role;

import java.util.List;

public interface pageroleser {

    ResultTable getroledata(Integer page, Integer limit, String name);

    ResponseResult updaterolestatus(Integer id, Integer status);

    ResponseResult adddata(Role role);

    ResponseResult updatadata(Role role);

    List<Integer> getrolemenudata(Integer roleId);

    List<Menu> getmenualldata();

    ResponseResult getassigndata(Integer roleId, Integer[] menuIds);
}
